import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';

import '../../generated/assets.dart';
import '../../res/text_style.dart';
import 'splash_logic.dart';

class SplashPage extends GetView<SplashLogic> {
  SplashPage({super.key});

  final logic = Get.find<SplashLogic>();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        color: Colors.white,
        alignment: Alignment.center,
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            ClipRRect(
                borderRadius: BorderRadius.circular(100),
                child: Image.asset(
                  Assets.imagesImg1,
                  width: 200,
                  height: 200,
                )),
            Text(
              'MyMeeting',
              style: TextStyles.textStyle(Colors.green, 25.sp),
            ),
          ],
        ),
      ),
    );
  }
}
